package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 皮带健康每天评分表
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_health_score_day")
public class BeltHealthScoreDay extends BaseEntity<Long> {


    /**
    * 皮带id
    */
    @TableField("belt_id")
    private Long beltId;


    /**
    * 分数
    */
    @TableField("score")
    private BigDecimal score;


    /**
    * 健康类型，0,1,2，机械，健康，五防
    */
    @TableField("health_type")
    private Integer healthType;


    /**
    * 评分时间
    */
    @TableField("score_day")
    private LocalDate scoreDay;



}